package com.itheima.service;

import com.itheima.common.R;
import com.itheima.dto.ContractQueryDto;
import com.itheima.pojo.TbContract;

/**
 * (TbContract)表服务接口
 */
public interface TbContractService {
    R listContract(ContractQueryDto contractQueryDto);

    R add(TbContract tbContract, String username);

    R detailsContract(String id);

    R auditContract(String id, String status);
}
